SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 53951: Locked tables remain on SAS® Scalable Performance Data Engine for Hadoop file system when running HP nodes

DetailsAboutRate It

When running SAS® Enterprise Miner™ on a Scalable Performance Data Engine for a Hadoop database, partially written files in the database can occur. Errors similar to the following are displayed:

ERROR: There was a failure to generate metadata from the Hadoop engine.

ERROR: The bridge for SAS High-Performance Analytics encountered an internal error.

ERROR: org.apache.hadoop.security.AccessControlException: Permission denied:
        user=hadoop, access=WRITE,
        inode="/data/aatest/spde/w32/src":hadoop:supergroup:dr-xr-xr-x


ERROR: Call to method org.apache.hadoop.fs.FileSystem::mkdirs failed.

The problem occurs if the diagram includes a high-performance node, and there is a termination of the MPCONNECT session for any reason (user-termination, or other). These partially written files are orphans in the database, and they can be handled by the following approaches.

  • When the MPCONNECT session is terminated, there are unfinished permanent tables in the database. This problem occurs if the flow is executing either the HP Data Partition node, or the HP Text Miner node. The associated "write" lock file for the table remains. Even if the nodes are re-run, the names of these tables remain unchanged, and the nodes fail.

    To work around the problem, delete any problem node, and replace it with a new one.

  • For any other HP node, when the MPCONNECT session is terminated, the temporary tables that are built are orphaned.

    To work around the problem, re-run the flow. These temporary table names are randomly generated, so when the flow is re-run, the temporary tables are deleted from the database.

For both issues, your administrator might need to delete the orphaned lock files at the operating-system level, because deleting those files is outside of the SAS system control.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Enterprise MinerMicrosoft® Windows® for x6413.214.19.4 TS1M29.4 TS1M3
Microsoft Windows 8 Enterprise 32-bit13.214.19.4 TS1M29.4 TS1M3
Microsoft Windows 8 Enterprise x6413.214.19.4 TS1M29.4 TS1M3
Microsoft Windows 8 Pro 32-bit13.214.19.4 TS1M29.4 TS1M3
Microsoft Windows 8 Pro x6413.214.19.4 TS1M29.4 TS1M3
Microsoft Windows 8.1 Enterprise 32-bit13.214.19.4 TS1M29.4 TS1M3
Microsoft Windows 8.1 Enterprise x6413.214.19.4 TS1M29.4 TS1M3
Microsoft Windows 8.1 Pro13.214.19.4 TS1M29.4 TS1M3
Microsoft Windows 8.1 Pro 32-bit13.214.19.4 TS1M29.4 TS1M3
Microsoft Windows Server 200813.214.19.4 TS1M29.4 TS1M3
Microsoft Windows Server 2008 R213.214.19.4 TS1M29.4 TS1M3
Microsoft Windows Server 2008 for x6413.214.19.4 TS1M29.4 TS1M3
Microsoft Windows Server 2012 Datacenter13.214.19.4 TS1M29.4 TS1M3
Microsoft Windows Server 2012 R2 Datacenter13.214.19.4 TS1M29.4 TS1M3
Microsoft Windows Server 2012 R2 Std13.214.19.4 TS1M29.4 TS1M3
Microsoft Windows Server 2012 Std13.214.19.4 TS1M29.4 TS1M3
Windows 7 Enterprise 32 bit13.214.19.4 TS1M29.4 TS1M3
Windows 7 Enterprise x6413.214.19.4 TS1M29.4 TS1M3
Windows 7 Home Premium 32 bit13.214.19.4 TS1M29.4 TS1M3
Windows 7 Home Premium x6413.214.19.4 TS1M29.4 TS1M3
Windows 7 Professional 32 bit13.214.19.4 TS1M29.4 TS1M3
Windows 7 Professional x6413.214.19.4 TS1M29.4 TS1M3
Windows 7 Ultimate 32 bit13.214.19.4 TS1M29.4 TS1M3
Windows 7 Ultimate x6413.214.19.4 TS1M29.4 TS1M3
64-bit Enabled AIX13.214.19.4 TS1M29.4 TS1M3
64-bit Enabled Solaris13.214.19.4 TS1M29.4 TS1M3
HP-UX IPF13.214.19.4 TS1M29.4 TS1M3
Linux for x6413.214.19.4 TS1M29.4 TS1M3
Solaris for x6413.214.19.4 TS1M29.4 TS1M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.